<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<html>
	<head>
		<%
			request.setCharacterEncoding("UTF-8");
		%>

		<link rel="stylesheet" href="css/css.css" type="text/css"></link>
		<link rel="stylesheet" href="css/jquery.datepick.css" type="text/css"></link>
		<style type="text/css">
#leftSide {
	float: left;
	height: auto;
	width: 50%;
}

#rightSide {
	float: left;
	height: auto;
	width: 50%;
}
</style>
		<script type="text/javascript" src="js/global.js"></script>
		<script type="text/javascript" src="js/calendar.js"></script>
		<script type="text/javascript" src="js/jquery/jquery-1.7.2.js"></script>
		<script type="text/javaScript" src="js/jquery/jquery.datepick.js"></script>
		<script type="text/javaScript" src="js/jquery/jquery.datepick.lang.js"></script>
		<script type="text/javaScript"
			src="js/jquery/jquery.datepick-zh-CN.js"></script>
		<script type="text/javascript">
	$(function() {
	    $("#mainTable >tbody >tr").dblclick(
			function() {
				window.location.href="BoardAction.do?method=showSub&userName="+$.trim($(this).find(".userName").html());
			});
	});
	</script>
	</head>
	<body>
		<div id="leftSide">
			<table id="mainTable" bordercolor="blue" border="1" width="100%">
				<thead>
					<tr>
						<td width="9%">
							销售员
						</td>
						<td width="9%">
							销售员名称
						</td>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${salerList}" var="saler">
						<tr>
							<td class="userId">
								${saler.userId}
							</td>
							<td class="userName">
								${saler.userName}
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
		<div id="rightSide">
			<table>
				<tr>
					<td>
						本月工作天数合计
					</td>
					<td>
						${WORK_DAY}
					</td>
				</tr>
				<tr>
					<td>
						零售店拜访次数
						<br>
					</td>
					<td>
						${VISIT_TIME}
					</td>
				</tr>
				<tr>
					<td>
						零售店拜访天数
						<br>
					</td>
					<td>
						${VISIT_DAY}
						<br>
					</td>
				</tr>
				<tr>
					<td>
						平均拜访次数
						<br>
					</td>
					<td>
						${AVERAGE_TIME}
					</td>

				</tr>
				<tr>
					<td>
						订单的份数

					</td>
					<td>
						${ORDER_NM}
					</td>
				</tr>
				<tr>
					<td>
						订单中轮胎的数量，订单数量
						<br>
					</td>
					<td>
						${ORDER_QTY}
					</td>
				</tr>
				<tr>
					<td>
						市场信息份数
					</td>
					<td>
						${MARKETINFO_NM}
					</td>
				</tr>
				<tr>
					<td>
						新开卡客户数量
					</td>
					<td>
						新开卡客户数量 ${NEW_CUSTM_NM}
					</td>
				</tr>
			</table>
		</div>
		<table>
				<tr>
					<td>Industry</td>
					<td>零售店类型描述</td>
					<td>已拜访次数</td>
					<td>未拜访零售店</td>
				</tr>
			<c:forEach items="${retailerList}" var="retailer">
				<tr>
					<td>${retailer.IND_SECTOR}</td>
					<td>${retailer.TEXT_SHORT}</td>
					<td>${retailer.VISIT_TIME}</td>
					<td>${retailer.UN_VISIT_RETL}</td>
				</tr>
			</c:forEach>
		</table>
	</body>
</html>
